home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #2 / Monster Media No. 2 (Monster Media)(1994).ISO / bbs_game / cshark04.zip / INSTALL.DOC < prev    next >
Text File  |  1994-06-06  |  5KB  |  120 lines

  1.   ┌─────────────────────────────────────────────────────────────────────────┐
  2.   │▒ Installation ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
  3.   └─────────────────────────────────────────────────────────────────────────┘
  4.  
  5.   Program Usage is :
  6.  
  7.   CSHARKS [Command-line Option] [Command-line Option] ...
  8.  
  9.   [Command-line Option] 's are
  10.  
  11.  
  12.   -d<Dropfile Path> : Path where door is to find the BBS's information
  13.                       dropfile.  Note: Use the path only, don't use the
  14.                       name of your dropfile.
  15.  
  16.   -c<Config File> : Path AND Name of the configuration file the door should
  17.                     use.
  18.  
  19.   -l : Run program in Local-Only Mode
  20.  
  21.   -p<Port Number> : Specifies the port number the game is being run under.
  22.                     This is almost always not needed as the door will get
  23.                     its parameters from the BBS's drop file read in with 
  24.                     the -c<Config File> option.  Note : This option does not 
  25.                     apply if a Fossil is installed.
  26.  
  27.   -i<Com IRQ #> : You may specify a non-standard IRQ which is used to
  28.                   control your serial port. This is normally not needed. The
  29.                   default IRQ for the serial port in use will almost always
  30.                   work.  Note : This option does not apply if a Fossil is
  31.                   installed.
  32.  
  33.   -a<Com Address> : You may specify a non-standard serial port address here.
  34.                     The defaults are taken from BIOS for COM1 thru COM4 and
  35.                     this is normally not needed.  Note : This option does not
  36.                     apply if a Fossil is installed.
  37.  
  38.   1. Make a Directory in which to keep Game Files.  For this example, we'll
  39.      use C:\BBS\GAME
  40.  
  41.   2. Unzip CSHARKxxx.ZIP in this directory.
  42.  
  43.   3. Modify the config file CSHARK.CFG to your liking, options are explained
  44.      in the file itself.  You may copy and rename this file if you would
  45.      like different config files for different nodes.  This is accomplished
  46.      by using the command-line parameter -c<Config File>.  Note : If you're
  47.      running multi-node and wish to share 1 config file among more than one
  48.      node, be sure to set the read-only attribute on the file.  After you're
  49.      done editing the file, you can do this using the dos command.  For 
  50.      example : ATTRIB +R CSHARK.CFG will set the read-only attribute on the 
  51.      file "cshark.cfg".  To later edit the file, the read-only attribute must 
  52.      be removed by using ATTRIB -R CSHARK.CFG.
  53.         Just as a general note : it's recommended that any shared batch files
  54.      also have the read-only attribute set so as to avoid sharing violations.
  55.  
  56.   4. Create a batch file for your BBS to call the program.
  57.  
  58.      This example assumes you're running multiline, the game
  59.      files are in C:\BBS\GAME and the 3 lines you're running in are
  60.      C:\BBS\LINE1, C:\BBS\LINE2, & C:\BBS\LINE3 respectively.
  61.  
  62.   5. Call the batch file from your BBS and pass the node number that your
  63.      BBS is running under, e.g. runmulti 1 for the first line or runmulti 2
  64.      for you 2nd line, etc...
  65.  
  66.      Note for RemoteAccess Users, Use a Type 7 execute sub-program and place
  67.      "*c /c runmulti.bat *N *M" in the optional data field.
  68.  
  69.      Example: "RUNMULTI.BAT" ...
  70.  
  71.         If %1==1 goto LINE1
  72.         If %1==2 goto LINE2
  73.         If %1==3 goto LINE3
  74.  
  75.         :LINE1
  76.              CD\BBS\GAME
  77.              CSHARKS -dC:\BBS\LINE1    <= Config file defaults to CSHARK.CFG
  78.              CD\BBS\LINE1
  79.              GOTO END
  80.  
  81.         :LINE2
  82.              CD\BBS\GAME
  83.              CSHARKS -dC:\BBS\LINE2 -cCSHARK2.CFG  
  84.              CD\BBS\LINE2
  85.              GOTO END
  86.  
  87.         :LINE3
  88.              CD\BBS\GAME
  89.              CSHARKS -dC:\BBS\LINE3 -cCSHARK3.CFG
  90.              CD\BBS\LINE3
  91.  
  92.         :END
  93.  
  94.  
  95.   Alternate Multiline Example :
  96.  
  97.   On My BBS, I use the following "RUNMULTI.BAT"
  98.  
  99.   cd\ra\game
  100.   csharks -D\ra\line%node% -Ccshark%node%.cfg
  101.   cd\ra\line%node%
  102.  
  103.   This assumes that somewhere in the batch file that runs the first line of
  104.   your BBS, you have set the environment variable NODE using the line 
  105.   "Set Node=1", in the batch file that runs your second line you have 
  106.   "Set Node=2" {Without Parentheses}, etc...
  107.  
  108.   Note for Multi-Node Systems : DOS's share MUST be loaded and I recommend
  109.   setting the Read-Only attribute on "RUNMULTI.BAT" and on all your BBS 
  110.   batch files that your nodes share.
  111.  
  112.      Sample single-line bbs game startup batch file ...
  113.  
  114.      Example: "RUNGAME.BAT"
  115.  
  116.         CD\BBS\GAME
  117.         CSHARKS -dC:\BBS        <= Configuration file defaults to CSHARK.CFG
  118.         CD\BBS
  119.  
  120.